HelloPlus\Modules\TemplateParts\Documents\Ehp_Document_Base S

Total Complexity 49
Dependencies 7
Dependents 2
Total lines 297
Lines of code 192
Logical lines of code 99
Comment lines 43
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
register_hooks()
S
54 6 20
display_post_states()
S
58 6 14
set_as_entire_site()
S
58 4 14
maybe_display_notice()
S
58 3 15
maybe_save_as_draft()
S
62 4 10
filter_admin_row_actions()
S
61 3 13
maybe_get_template()
S
62 3 11
save()
S
63 3 10
get_all_document_posts()
S
55 1 20
are_multiple_post_published()
S
66 2 8
get_document_post()
S
74 2 4
print_content()
S
67 2 8
get_properties()
S
60 1 13
get_active_document()
S
68 1 8
get_templates_path()
S
80 1 3
get_name()
S
80 1 3
get_create_url()
S
74 1 4
get_css_wrapper_selector()
S
80 1 3
allow_only_one_active_document()
S
74 1 4
get_remote_library_config()
S
68 1 7
get_template_hook()
S
100 1 0
get_template()
S
100 1 0